package other.annotation;

import java.lang.annotation.*;

/**
 * @author hubb
 * @Date 2019/3/28 23:47
 */
@Inherited
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target( { ElementType.METHOD, ElementType.CONSTRUCTOR })
public @interface Greeting {

    String name();

    String content();

    FontColor fontColor() default FontColor.BLUE;

    enum FontColor {RED, GREEN, BLUE}
}
